package com.portal.backend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.portal.backend.payload.CommentRequest;
import com.portal.backend.payload.CommentResponse;

public interface CommentService {
    CommentResponse createComment(Long articleId, CommentRequest commentRequest);
    IPage<CommentResponse> getCommentsByArticleId(Long articleId, long current, long size);
    CommentResponse getCommentById(Long commentId);
    CommentResponse updateComment(Long commentId, CommentRequest commentRequest);
    void deleteComment(Long commentId);
} 